package com.exsun.ex1077.network

import com.exsun.ex1077.BuildConfig

/**
 * 描述：API地址
 * 作者：ZhangPing
 * 创建时间：2022/5/9 09:30
 */
object ApiUrl {

    const val BASE_URL = BuildConfig.BASE_URL
    const val PHOTO_URL = BuildConfig.PHOTO_URL
    const val VIDEO_URL = BuildConfig.VIDEO_URL

    /**
     * WebSocket地址
     */
    const val WEB_SOCKET_URL = BuildConfig.WEB_SOCKET
    /**
     * 用户协议
     */
    const val USER_AGREEMENT = "http://106.13.198.84:28001/file/userAgreement.html"
    /**
     * 隐私协议
     */
    const val PRIVACY_AGREEMENT = "http://106.13.198.84:28001/file/privacyAgreement.html"

    //登录
    const val LOGIN = "app/login"
    //检查用户名和手机号
    const val CHECK_ACCOUNT_MOBILE = "app/existMobileAndUsername"
    //发送短信
    const val SEND_SMS = "app/sendSMSCode"
    //注册
    const val REGISTER = "app/user/save"
    //修改密码
    const val MODIFY_PASSWORD = "app/modifyPassword"
    //头像上传
    const val HEAD_UPLOAD = "app/user/upload"
    //地图车辆集合
    const val MAP_VEHICLE_LIST = "app/realtimePositioning/queryGpsList"
    //地图指定车辆GPS信息
    const val MAP_VEHICLE_GSP = "app/realtimePositioning/queryGpsInfo"
    //地图搜索
    const val MAP_SEARCH = "app/realtimePositioning/searchVehicle"
    //消息列表
    const val MSG_LIST = "app/message/getList"
    //消息详情
    const val MSG_DETAIL = "app/message/getDetail"
    //消息详情
    const val MSG_UNREAD_COUNT = "app/message/getCount"
    //删除消息
    const val MSG_REMOVE = "app/message/remove"
    //批量删除消息
    const val MSG_BATCH_REMOVE = "app/message/batchRemove"
    //车辆部门树
    const val VEHICLE_DEPT_TREE = "app/realtimePositioning/dataTree"
    //车辆列表
    const val VEHICLE_LIST = "app/realtimePositioning/queryVehicleList"
    //里程统计
    const val VEHICLE_MILEAGE = "app/realtimePositioning/queryDeviceMileage"
    //轨迹列表
    const val VEHICLE_TRACK_LIST = "app/realtimePositioning/getVehicleHisSegmentTracksAPP"
    //轨迹详情
    const val VEHICLE_TRACK_DETAIL = "app/realtimePositioning/getVehicleHisTracksDetail"
    //车辆视频地址
    const val VEHICLE_VIDEO = "app/realtimePositioning/getVehicleVideos"
    //图片上传
    const val PHOTO_UPLOAD = "app/uploadFeedback"
    //提交反馈
    const val FEEDBACK_SUBMIT = "app/saveFeedback"
    //检查更新
    const val CHECK_UPDATE = "app/getVersion"
    //APK下载
    const val APK_DOWNLOAD = "$BASE_URL/app/getApk"
    //客服电话
    const val SERVICE_TEL = "app/getServicePhone"
    //地图首页里程排名
    const val MAP_DEVICE_MILEAGE_RANK = "app/realtimePositioning/queryDeviceMileageRank"
    //监管类型
    const val MANAGE_TYPE_LIST = "app/dataDict/getDataDict/22"
    //里程统计列表
    const val MILEAGE_COUNT_LIST = "app/realtimePositioning/queryDeviceMileagePage"
    //围栏列表
    const val BOUNDS_LIST = "app/electricFence/list"
    //围栏删除
    const val BOUNDS_DELETE = "app/electricFence/remove"
    //围栏重命名
    const val BOUNDS_RENAME = "app/electricFence/rename"
    //围栏新增
    const val BOUNDS_SAVE = "app/electricFence/save"
    //围栏编辑
    const val BOUNDS_UPDATE = "app/electricFence/update"
    //围栏查询
    const val BOUNDS_QUERY = "app/electricFence/queryById"
    //获取有权限的监管类型
    const val CHECK_OBJECT = "app/realtimePositioning/getObjTypesUser"
    //地图显示的围栏列表
    const val MAP_BOUNDS_LIST = "app/electricFence/getAllFence"
    //设备号校验
    const val DEVICE_NO_CHECK = "app/equipmentManagement/exist"
    //设备型号下拉
    const val DEVICE_MODEL_LIST = "app/equipmentManagement/deviceModelList"
    //设备SIM卡号检查
    const val DEVICE_SIM_CHECK = "app/equipmentManagement/getSimCardInfo"
    //设备车牌号搜索
    const val DEVICE_VEHICLE_OBJECT_NAME_SEARCH = "app/equipmentManagement/vehicleSelectList"
    //设备负责人搜索
    const val DEVICE_PERSON_SEARCH = "app/equipmentManagement/driverSelectList"
    //设备新增
    const val DEVICE_SAVE = "app/equipmentManagement/save"
    //设备编辑
    const val DEVICE_UPDATE = "app/equipmentManagement/update"
    //设备监管对象照片上传
    const val DEVICE_OBJECT_PHOTO_UPLOAD = "app/equipmentManagement/uploadVehicle"
    //设备监管负责人照片上传
    const val DEVICE_PERSON_PHOTO_UPLOAD = "app/equipmentManagement/uploadDriver"
    //设备车牌号校验
    const val DEVICE_OBJECT_NAME_CHECK = "app/equipmentManagement/existNumberPlate"
    //设备删除
    const val DEVICE_DELETE = "app/equipmentManagement/remove"
    //设备查询
    const val DEVICE_QUERY = "app/equipmentManagement/getInfo"
    //操作日志
    const val LOG_UPLOAD = "app/operationLogSave"
    //菜单权限
    const val MENU_PERMISSION = "app/getPermissions"
    //实时视频关闭时间
    const val VIDEO_CLOSE_TIME = "app/configKey/app_live_video_close_interval"

}
